package edu.gyc.hishiro.controller;


import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author ls
 * @since 2021-01-04
 */
@Controller

public class IndexController {
    @RequestMapping({"/", "", "/index"})
    public String index() {
        return "login";
    }

    @RequestMapping("/menu")
    public String menu() {
        return "/admin/welcome";
    }

    @RequestMapping("/stu")
    public String stu() {
        return "/admin/student";
    }

    @RequestMapping("/test")
    public String test() {
        return "/test";
    }
}

